package com.own.component.util.excel.exception;

import com.own.base.BaseResponseCode;
import com.own.component.common.exception.BusinessException;
import com.own.component.util.excel.em.ExcelExceptionEnum;

/**
 * ExcelException
 *
 * @author chenxueli
 * @date 2021/1/27 19:52
 */
public class ExcelException extends BusinessException {

    public ExcelException() {
        super(ExcelExceptionEnum.DEFAULT);
    }

    public ExcelException(String message) {
        super(ExcelExceptionEnum.DEFAULT.code(), message);
    }

    public ExcelException(String code, String message) {
        super(code, message);
    }

    public ExcelException(BaseResponseCode responseCode) {
        super(responseCode);
    }

}
